package com.qisu.enums;

/**
 * 
 * @author li
 *
 */
public enum ChargeMode implements DescriptiveEnum<Integer> {
	// @formatter:off
	ConstantVoltage(0, "恒压"),
	ConstantCurrent(1, "恒流"),
	NA(3, "不可用");
	
	// @formatter:on

	private int _val;
	private String _desc;

	private ChargeMode(int val, String desc) {
		_val = val;
		_desc = desc;
	}

	@Override
	public Integer getValue() {
		return _val;
	}

	@Override
	public String getDescription() {
		return _desc;
	}
}
